class TransportPackage < ActiveRecord::Base
  attr_accessible :title_idn, :title_eng, :description_eng, :description_ind, :idr_price, :idr_promotion_price, :is_on_promoted, :transport_id, :usd_price, :usd_promotion_price

  validates :title_idn, :title_eng, :description_eng, :description_ind, :idr_price, :transport_id, :usd_price, :presence => true
  belongs_to :transport, foreign_key: "transport_id"
end
